home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gBackLowMusicVolume, gBackHighMusicVolume, gFadeSteps
- if soundBusy(2) then
- set the volume of sound 1 to gBackLowMusicVolume
- else
- if the volume of sound 1 < gBackHighMusicVolume then
- repeat with x = 1 to gFadeSteps
- set the volume of sound 1 to gBackLowMusicVolume + (x * 10)
- updateStage()
- startTimer()
- repeat while the timer < 10
- nothing()
- end repeat
- end repeat
- end if
- end if
- mainMenuRollovers()
- go(the frame)
- end
-